//id自增的工具类
function getNewId(teaString) {
    console.log(teaString);
    

    if(teaString==undefined){
        id = 1;
        return id
    }else{
        let obj = JSON.parse(teaString)
        let id = obj[obj.length - 1].id;
        id++;
        return id;
    }

}